package com.nightsoul.disruptor.test.demo;


//DEMO中使用的 消息全假定是一条交易
public class TradeTransaction {
	private String id;//交易ID
	private double price;//交易金额
	
	public TradeTransaction() {
	}
	public TradeTransaction(String id, double price) {
		super();
		this.id = id;
		this.price = price;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
}






